package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_gourd_child_pass",autoSave = true,uploadCk = true,desc = "黑风寨-葫芦镇妖关卡通关日志")
public class LogGourdChildPass extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "关卡ID")
    private int passId;
    @FieldTypeAnnotation(desc = "是否通关")
    private boolean pass;
    @FieldTypeAnnotation(desc = "星级")
    private int star;
    @FieldTypeAnnotation(desc = "失败原因，0：成功；1：主动放弃；2：回数不足；3：快速通关")
    private int failType;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogGourdChildPass(long userId, int activityId, int passId, boolean pass, int star, int failType, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.passId = passId;
        this.pass = pass;
        this.star = star;
        this.failType = failType;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getPassId() {
        return passId;
    }

    public void setPassId(int passId) {
        this.passId = passId;
    }

    public boolean isPass() {
        return pass;
    }

    public void setPass(boolean pass) {
        this.pass = pass;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public int getFailType() {
        return failType;
    }

    public void setFailType(int failType) {
        this.failType = failType;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

}
